﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Kaixin.Components.DTO;
using Kaixin.Components.InterFace;
using Kaixin.Components.XML;
using System.Threading;

namespace Kaixin.Components
{
    /// <summary>
    /// 组件抽象类
    /// 创建：2009-12-9 14:54:21
    /// 版本：1.0
    /// 作者：吴鸣震
    /// </summary>
    public abstract class ComponentsBase
    {
        
        /// <summary>
        /// 获取菜单列表（只支持一级菜单）
        /// </summary>
        /// <returns></returns>
        public abstract List<String> GetMenus();
        /// <summary>
        /// 界面工厂
        /// </summary>
        public abstract IUIFactory UIFactory { get;  }
        /// <summary>
        /// 组件名称
        /// </summary>
        public abstract string Name { get; }
        /// <summary>
        /// 后台工作线程
        /// </summary>
        public abstract Thread BackgroundThread { get; }
    }
}
